﻿using Abp.Application.Services;
using Abp.Application.Services.Dto;
using Akso.Inbounds.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Akso.Inbounds
{
    public interface IInboundAppService: IApplicationService
    {
        Task<PagedResultOutput<InboundListDto>> GetObjects(GetInboundsInput input);
        //Task<Vendor> CreateOrUpdateObject(CreateOrUpdateVendorInput input);
        Task DeleteObject(IdInput<Guid> input);
        //Task<FileDto> GetObjectsToExcel(GetVendorsInput input);

        /// <summary>
        /// 在新增、编辑数据的弹出对话框中，获取对象的数据。
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<GetInboundForEditOutput> GetObjectForEdit(NullableIdInput<Guid> input);
    }
}
